// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  compatibilityDate: '2025-07-15',
  devtools: { enabled: true },

  // Nuxt Image 模块（用于图片优化）
  modules: ['@nuxt/image'],

  // 图片优化配置
  image: {
    quality: 80,
    format: ['webp'],
  },

  // 运行时配置
  runtimeConfig: {
    public: {
      apiBase: '/api'
    }
  }
})
